//导入http文件中的request
import request from "./http"
//获取首页tab选项
export function getTab(){
    return request({
        url:"home/config",
        method: "get",
        // params
    })
}
//每日精选
///home/selection
export function getSelection(){
    return request({
        url:"home/selection",
        method: "get",
        // params
    })
}
//首页推荐
///home/cateRecommend
export function getCateRecommend(){
    return request({
        url:"home/cateRecommend?channel=home_channel_plot&cateName=剧情短片",
        method: "get",
        // params
    })
}
//https://apis.netstart.cn/xpc/home/recommend
//推荐列表
export function getRecommend(){
    return request({
        url:"home/recommend",
        method: "get",
        // params
    })
}
//热门https://apis.netstart.cn/xpc/home/hot
export function getHot(){
    return request({
        url:"home/hot",
        method: "get",
        // params
    })
}
//首页创意
// home/cateRecommend?cateName=%E5%88%9B%E6%84%8F&channel=home_channel_creative
export function getHomeCreated(){
    return request({
        url:"home/cateRecommend?cateName=%E5%88%9B%E6%84%8F&channel=home_channel_creative",
        method: "get",
        // params
    })
}
//剧情短片
//https://apis.netstart.cn/xpc/home/cateRecommend?cateName=%E5%89%A7%E6%83%85%E7%9F%AD%E7%89%87&channel=home_channel_plot
export function getHomeCate(){
    return request({
        url:"home/cateRecommend?cateName=%E5%88%9B%E6%84%8F&channel=home_channel_plot",
        method: "get",
        // params
    })
}